﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace YunBox2.Client.Foundation
{
	/// <summary>
	/// UOMEditorView.xaml 的交互逻辑
	/// </summary>
	[Export("UOMEditorView",typeof(UOMEditorView))]
	public partial class UOMEditorView : UserControl
	{
		public UOMEditorView()
		{
			this.InitializeComponent();
		}

	    [Import]
	    public ViewModels.UOMEditorViewModel ViewModel
	    {
	        get
	        {
	            return (ViewModels.UOMEditorViewModel) DataContext;
	        }
            set
            {
                DataContext = value;
            }
	    }
	}
}